import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_ahj_app/base/values/SQColor.dart';
import 'package:flutter_ahj_app/base/values/dimens.dart';

class DivUtils {
  static verDivider({double height, Color color}) {
    return Container(
        height: height == null ? Dimens.dimens16 : height,
        color: color == null ? SQColor.transparent : color);
  }

  static horDivider({double width, Color color}) {
    return Container(width: width == null ? Dimens.dimens8 : width);
  }
}
